package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private String openId;

    private String unionId;

    private String nickName;

    private String realName;

    private Long steamId;

    private Integer shortSteamId;

    private Boolean steamAuthorized;

    private Boolean enabled;

    private String avatar;

    private String phone;

    private LocalDateTime createTime;

    private Integer gender;

    private Boolean canChangeUsername;

}
